﻿/* API函数：Threading类型相关
 */

namespace LSLib.API
{
    using System;
    using System.Runtime.InteropServices;

    [Serializable]
    public static class Threading
    {
        [DllImport("kernel32.dll")]
        [return: MarshalAs(UnmanagedType.Bool)]
        internal static extern bool QueryThreadCycleTime(IntPtr threadHandle, ref ulong cycleTime);

        [DllImport("kernel32.dll")]
        internal static extern IntPtr GetCurrentThread();
    }
}
